package com.educate.upms.dao;

import com.educate.upms.dao.impl.UpmsRolePermissionDaoImpl;
import com.educate.upms.model.bo.UpmsRolePermissionBO;
import com.educate.upms.model.po.UpmsRolePermission;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UpmsRolePermissionDao extends MongoRepository<UpmsRolePermission, String> {

    /**
     * #{@link UpmsRolePermissionDaoImpl#query(UpmsRolePermissionBO, Pageable)}
     */
    Page<UpmsRolePermission> query(UpmsRolePermissionBO bo, Pageable pageable);
}
